package com.hexinfo.dmpro.monitor.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @author peng
 * @date 2021/10/14 16:44
 */
@Data
public class MonitorTaskModel {

    private String dataTime;
    /**
     * 今日已提交
     */
    private int toDaySubmit;
    /**
     * 正在执行中
     */
    private int toDayRunning;
    /**
     * 今日已成功
     */
    private int toDaySucceeded;
    /**
     * 今日失败
     */
    private int toDayFailed;
    /**
     * 历史完成
     */
    private int hisFinished;
    /**
     *  历史失败
     */
    private int hisFailed;

    @JSONField(name = "yarnAppList")
    private List<YarnAppModel> yarnAppList;
    @JSONField(name = "yarnAppRunningList")
    private List<YarnAppModel> yarnAppRunning;
    @JSONField(name = "yarnAppFailList")
    private List<YarnAppModel> yarnAppFail;
    @JSONField(name = "yarnAppSuccList")
    private List<YarnAppModel> yarnAppSucc;
    @JSONField(name = "impalaAppList")
    private List<ImpalaAppModel> impalaAppList;
    @JSONField(name = "impalaRunningList")
    private List<ImpalaAppModel> impalaRunningList;
    @JSONField(name = "impalaFailList")
    private List<ImpalaAppModel> impalaFailList;
    @JSONField(name = "impalaSuccList")
    private List<ImpalaAppModel> impalaSuccList;


}
